package com.xca.znb.model.imodel;

import com.xca.znb.entity.Goods;
import com.xca.znb.entity.Order;

import java.util.List;

public interface IOrders {
    List<Order> getAllOrderBuy(String phone);
    List<Order> getOrderBuy(String phone , String type) ;
    List<Order> getAllOrderSales(String phone);
    List<Order> getOrderSales(String phone , String type) ;
    void updateOrderType(int id , String type , String time) ;
    Goods getGoodsById(int id);
    void insertAccount(String phone , double num , String type , String time_day , String time_sec);
    Order getOrderById(int id);
}
